
#ifndef DESIGN_PATTERNS_CHAIN_OF_RESPONSIBILITY_ROOT_HANDLER_H_
#define DESIGN_PATTERNS_CHAIN_OF_RESPONSIBILITY_ROOT_HANDLER_H_

#include "handler.h"

class RootHandler : public Handler
{
public:
  RootHandler() = default;

  explicit RootHandler(Handler* h);

  void Process(const Role& role) override;

  ~RootHandler() override = default;
};

#endif //DESIGN_PATTERNS_CHAIN_OF_RESPONSIBILITY_ROOT_HANDLER_H_
